<!DOCTYPE html>
<html>
<head>
	<title>美丽说列表页</title>
	<link rel="stylesheet" href="./Public/Home/style/css/index.css">
	<link rel="stylesheet" href="./Public/Home/style/css/font.css">
	<script type="text/javascript" src="./Public/Home/style/js/jquery-3.0.0.min.js"></script>
	<script type="text/javascript" src="./Public/Home/style/js/index.js"></script>
	<link rel="stylesheet" href="./Public/Home/style/css/list.css">
</head>
<body>
	<!-- 顶部区域 -->
	<!-- 头部js分类框 -->
		<div id="js_dv">
				<div id="kind">
			<div id="kind1">
				<ul>
					<li style="border-bottom:2px solid #f69;" class="kind_l0"><div class="kind_d"><a href="" class="Kind_a" style="color:#f69;">首页</a></div></li>
					{{foreach from="$cate" value="$v"}}
					<li class="kind_l0"><div class="kind_d"><a href="{{U('List/index',['cid'=>$v['cid']])}}" class="Kind_a">{{$v['cname']}}</a></div></li>
					{{endforeach}}
					
						
						</ul>
					</div>
								
				</ul>
			</div>
		</div>
		</div>
	<div id="top">
		<ul id="top_l">
			<li class="top"><div class="top0 top1">
				<a href="" class="top_a">帮助中心</a></div></li>
			<li class="top">
				<div class="top0 top2">
					<i class="iconfont" style="color:#919290;">&#xe602;</i>
					<a href="" class="top_a">
						
						下载App</a>
					<!-- <i class="iconfont" style="font-size:1px;">&#xe60a;</i> -->
				</div>
			</li>
			<li class="top">
				<div class="top0 top3">
					<i class="iconfont" style="color:#919290;">&#xe601;</i>
					<a href="" class="top_a">
						我的订单
					</a>
				</div>
			</li>
			<li class="top">
				<div class="top0 top4">
					<i class="iconfont" style="color:#ff6699;">&#xe604;</i>
					<a href="" class="top_a">
						我的购物车
					</a>
				</div>
			</li>
			<?php if(isset($_SESSION['username'])): ?>
                    <li class="top">
                    <div class="top0 top5">
                    <a href="{{U('Member/out')}}" class="top_a">退出</a>
                    </div>
                    </li>
                <li class="top">
                    <div class="top0 top6">
                    <span class="top_a"> <?php echo $_SESSION['username']; ?> </span>
                    </div></li>
                 <?php else: ?>
                     <li class="top">
                <div class="top0 top5">
                <a href="{{U('Member/reg')}}" class="top_a">注册</a>
                </div></li>
            <li class="top">
                <div class="top0 top6">
                <a href="{{U('Member/login')}}" class="top_a">登录</a></div></li>
                <?php endif ?>

		</ul>
	</div>

<!-- banner 区域-->
	<div id="banner">
		<div id="banner1">
			<div class="banner1">
				<img src="./Public/Home/style/images/mls1.png">
			</div>
			<div class="banner2">
				<div class="banner_t">
						<div class="banner_t">
                        <a href=""><span class="banner_ts1">宝贝</span></a>
                </div>	
				</div>
				<div class="banner_c">
					<input class="input" type="text" name="" placeholder="关注奥运之运动鞋买起来" style="outline:none;"><button style="outline:none;">提交</button>
				</div>
				<div class="banner_b">
					<ul>
						<li><a href="" class="banner_ba2">连衣裙</a></li>
						<li><a href="" class="banner_ba2">连衣裙</a></li>
						<li><a href="" class="banner_ba2">连衣裙</a></li>
						<li><a href="" class="banner_ba2">连衣裙</a></li>
						<li><a href="" class="banner_ba2">连衣裙</a></li>
						<li><a href="" class="banner_ba2">连衣裙</a></li>
						<li><a href="" class="banner_ba2">连衣裙</a></li>
						<li><a href="" class="banner_ba2">连衣裙</a></li>
						<li><a href="" class="banner_ba2">连衣裙</a></li>
						<li><a href="" class="banner_ba2">连衣裙</a></li>

					</ul>
				</div>
			</div>
		</div>
<!-- 分类区域 -->
		<div id="kind">
			<div id="kind1">
				<ul>
					<li style="border-bottom:2px solid #f69;" class="kind_l0"><div class="kind_d"><a href="" class="Kind_a" style="color:#f69;">首页</a></div>
					</li>
					{{foreach from="$cate" value="$v"}}
						<li class="kind_l0"><div class="kind_d"><a href="{{U('List/index',['cid'=>$v['cid']])}}" class="Kind_a">{{$v['cname']}}</a></div></li>
					{{endforeach}}
							
				</ul>
			</div>
		</div>
	<!-- 所有 -->
	<div id="all">
		<span>所有	>	共26787件</span>
	</div>
	<!-- 挑选 -->
	<div id="cos">
	{{foreach from="$finalAttr" key="$k" value="$v"}}

	   <?php
	   		$temp=$param;
	   		$temp[$k]=0;
	   ?>
		<div id="cos_t">
			<span >{{$v['name']}}</span>
			<a href="{{U('index',['cid'=>$_GET['cid'],'param'=>implode('_',$temp)])}}"><span {{if value='$param[$k] eq 0'}}class="cos_t1"{{endif}}>不限</span></a>
			{{foreach from="$v['value']" value="$value"}}
			<?php
				$temp[$k]=$value['gtid'];
			?>
			<a href="{{U('index',['cid'=>$_GET['cid'],'param'=>implode('_',$temp)])}}" ><span {{if value="$param[$k] eq $value['gtid']"}}class="cos_t1"{{endif}}>{{$value['gtvalue']}}</span></a>
			{{endforeach}}
			<!-- <div class="cos_tr"><span>多选</span></div> -->
		</div>
		
	{{endforeach}}
		
	</div>
	<!-- 价格区间 -->
	<div id="mon">
		<ul>
			<li class="mon_l" style="border-right:1px solid #e1e1e1; 
			border-left:1px solid #e1e1e1;background: white;"><a href="">流行</a></li>
			<li class="mon_l"><a href="">热销</a></li>
			<li class="mon_l"><a href="">上新</a></li>
			<li class="mon_l1">
				<a href="">价格</a>
				<div class="mon_l2">
					<div>
						<a href="">价格从低到高</a>
					</div>
					<div>
						<a href="">价格从高到低</a>
					</div>
				</div>
			</li>
		</ul>
		<div class="mon_c">
			<input class="mon_cp" type="text" name="" placeholder="￥">
			<div class="mon_cd">~</div>
			<input class="mon_cp" type="text" name="" placeholder="￥">
			<button>确认</button>

		</div>
		
	</div>
	<!-- 展示页面 -->
	<?php if($goodsData==null){ ?>
		<div style="width:100%;height:400px;text-align:center;color:#f69;font-size:40px;line-height:400px;">当前分类下没有数据</div>
		<?php } ?>
	
	
	<div id="show">
	{{foreach from="$goodsData" value="$v"}}
		<div class="shows">
		
			<div class="shows_t">
				<a href="{{U('Shop/index',array('gid'=>$v['gid']))}}"><img src="{{$v['pic']}}"></a>
				<div class="shows_h0">
					<img src="./Public/Home/style/images/mls5.png">
				</div>
				<div class="shows_h">
					<img src="./Public/Home/style/images/mls4.png" style="">
					
					<a href="">
						<div class="shows_h1">
							<i class="iconfont" style="color:white;">&#xe608;</i>
							<span>喜欢</span>

						</div>
					</a>
				</div>
			</div>
		
			<div class="shows_c">
				<div class="shows_c1">
					<span>￥</span>{{$v['shopprice']}}
				</div>
				<div class="shows_c2">
					<span>销量{{$v['click']}}</span>
				</div>
			</div>
			<div class="shows_b">
				<a href="{{U('Shop/index',array('gid'=>$v['gid']))}}">
					{{$v['gname']}}
				</a>
			</div>
		</div>
	{{endforeach}}
		</div>
	
<!-- 友情链接 -->
	<!-- <div id="link" style="margin-top:30px;">

		<span id="link_l">友情链接：</span>
		<ul id="link_c">
			<li class="link_cl">
				<a href="">爱乐活</a>
				<a href="">蜜芽宝贝</a>
				<a href="">趣分期大学生分期购物</a>
			</li>
		</ul>
		<div id="link_r">
			<a href="">更多>></a>
		</div>
	</div> -->
	<!-- 站点配置 -->
	<div id="web" style="background:#f5f5f5;border-top:1px dashed #ccc">
		<span>Copyright ©2016 Meilishuo.com</span>
		<a href=""> 电信与信息服务业务经营许可证100798号</a>
		<a href="">经营性网站备案信息</a>
		<span>京ICP备11031139号</span>
		<span>京公网安备110108006045</span>
	</div>
</body>
</html>